﻿@model ViewDataBusiness.ViewSetting
@{
    ViewBag.Title = Model.ViewTitle;

    ViewBag.jQuery = true;
    ViewBag.jQueryUI = true;
    ViewBag.Json = true;
    ViewBag.Flexigrid = true;
    ViewBag.Global = true;

    ViewBag.Css = "/Content/ViewSetting/Site.css";
    ViewBag.Js = "/Content/" + ViewContext.RouteData.Values["ViewForder"] + "/" + ViewContext.RouteData.Values["ViewName"] + ".js";
    
    Layout = "~/Views/_Template.cshtml";
}
<script type="text/javascript">var JsonOriginal = @Html.Raw(Model.JsonString);</script> 
<table id="MainTable" cellpadding="0" cellspacing="4" width="100%">
    <tr id="TitleTR"><td class="PageTitle"><div class="Title">@Model.ViewTitle</div></td></tr> 
    <tr id="SearchTR"><td class="Search TopTD"></td></tr>         
    <tr><td id="ListTD"></td></tr>    
    <tr id="PageTR"><td class="Page"></td></tr>
</table>